home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / AhtonsCrackingTutorial.sit.hqx / Ahton's Kracking Text Tools.rsrc / TEXT_131.txt < prev    next >
Text File  |  1997-07-27  |  3KB  |  34 lines

  1.  
  2.  
  3. Chapter 2- The Tools of Cracking 
  4.  
  5.  
  6.  
  7. As I mentioned earlier you will need certain programs to help you along in the deprotection process.
  8.  
  9. MacsBug: Is a full-featured debugger that allows you to set traps in
  10.                  programs and then trace through instruction by
  11.                  instruction. This is an immeasurably useful program. It
  12.                  has loads of commands, but I only use these commands
  13.                  for cracking:
  14.  
  15. atb [trap]            ; lets you set a trap that which will break you into MacsBug if 
  16.                           the program tries to exectute it. Mac Traps are from A000-
  17.                           AFFF and do many different things like _Eject & _ExitToShell
  18.                           and stuff like that.
  19. atc                   ; this will clear all of the traps t hat you set with atb
  20. es                    ; quit current application and exit to shell
  21. ea                    ; quit current application then launch it again
  22.  G                    ; go. Continue the application as normal. Turn off MacsBug.
  23. GT [addr]             ; lets you GO from a selected address.
  24. il [addr] n           ; lists from selected address "n"= number of lines
  25. ?                     ; This displays the online help file, very useful
  26.  
  27. These are the commands I use most of the time. There are other commands which are more complicated and do some special things but there is no need to explain them here. I will do that in a future issue.
  28.  
  29. FEdit 3.21: This is a very good sector/file editor with good search functions for finding certain code and changing it. This is very much like any other editor so there is no need to explain its functions.
  30.  
  31. DisAsm 3.1: This is a disassembler, the only one I have seen on the Mac so far and it works pretty good. All functions are operated from the Menus, but the main ones I use are the Search functions. Like finding certain traps, are certain addresses. I don't really use this much but if needed it is good to have a disassembler around. Sometimes MacsBug won't quite work if a program steals memory away from it and DisAsm must be used as a last resort.
  32.  
  33. Programmer's Key: This is a nifty little INIT that lets you invoke MacsBug from the keyboard. Basically you hit the Command-Reset keys and it dumps you into MacsBug, you can also hit Control-Command-Reset to restart your computer. Which is kind of neat. I recommend using this instead of the hardware interupt switch on the machine itself, mostly because its a pain to keep reaching in back of your machine to do it.
  34.